/**@ $type:MYSQLI_NUM | MYSQLI_ASSOC | MYSQLI_BOTH**/
	/**return value as array for allresult
	 MYSQLI_NUM : $row[0], $row[1];  
	 MYSQLI_ASSOC : $row["Name"], $row["CountryCode"];  
	 MYSQLI_BOTH :  $row[0], $row["CountryCode"];
	**/
	function arrayResult($result , $type){
		if($type)		return $result->fetch_array($type);
	}
	
	/**return value as array for one line
	 $row[0], $row[1];  
	**/
	function rowResult($result){
		if($result)	return $result->fetch_row();
	}

	/**return value as array for one line
	 $row["Name"], $row["CountryCode"];  
	**/
	function assocResult($result){
		if($result)	return $result->fetch_assoc();
	}

	/**return value as array for one line
	 $oneresult->Name 
	 $oneresult->CountryCode; 
	**/
	function fieldResult($result){
		if($result)	return $result->fetch_field();
	}
	
	/**return value as array for one line
	 $oneresult->Name 
	 $oneresult->CountryCode; 
	**/
	function objectResult($result){
		if($result)	return $result->fetch_object();
	}

	/**return value as array for array
	 $oneresult->Name 
	 $oneresult->CountryCode; 
	**/
	function fieldsResult($result){
		if($result)	return $result->fetch_fields();
	}